package thinker.miracle.ams.model;

import java.io.Serializable;

/**
 * @author chenbo
 * 
 * 	参数model
 * 
 */
public class ParamsModel implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * ID
	 */
	private int id;
	
	/**
	 * 参数名称
	 */
	private String name;
	
	/**
	 * 是否允许为空
	 */
	private String isNull;
	
	/**
	 * 默认值
	 */
	private String _default;
	
	/**
	 * 说明
	 */
	private String remark;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String get_default() {
		return _default;
	}

	public void set_default(String _default) {
		this._default = _default;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getIsNull() {
		return "0".equals(isNull) ? "否" : "是";
	}

	public void setIsNull(String isNull) {
		this.isNull = isNull;
	}
}
